package com.liyy.platform.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
//import org.springframework.data.annotation.Version;
//import org.springframework.data.elasticsearch.annotations.Document;


//  @Document(indexName = "platform", type = "productPrice")
  @Data
  public class GoodsPrice {
   /**
   * 主键id
   */
   private Long id;

   /**
   * 商品
   */
   private Long goodsId;

   /**
   * 开始数量
   */
   private Double quantityStart;

   /**
   * 结束数量
   */
   private Double quantityEnd;

   /**
   * 单价
   */
   private Double unitPrice;

   @JsonIgnore
//   @Version
   private Long version;

}
